package com.GDOU.service.serviceImp;

import com.GDOU.bean.LeaveExamine;
import com.GDOU.bean.LeaveExamineExample;
import com.GDOU.mapper.LeaveExamineMapper;
import com.GDOU.service.LeaveExamineService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service("LeaveExamineServiceImpl")
public class LeaveExamineServiceImpl implements LeaveExamineService {

    @Resource
    LeaveExamineMapper leaveExamineMapper;
    @Override
    public List<LeaveExamine> getExamineAll() {
        List<LeaveExamine> list = leaveExamineMapper.selectByExample(new LeaveExamineExample());
        return list;
    }
}
